p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → activate(X)
if(false, X, Y) → activate(Y)
diff(X, Y) → if(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
0 → n__0
s(X) → n__s(X)
diff(X1, X2) → n__diff(X1, X2)
p(X) → n__p(X)
activate(n__0) → 0
activate(n__s(X)) → s(activate(X))
activate(n__diff(X1, X2)) → diff(activate(X1), activate(X2))
activate(n__p(X)) → p(activate(X))
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → activate(X)
if(false, X, Y) → activate(Y)
diff(X, Y) → if(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
0 → n__0
s(X) → n__s(X)
diff(X1, X2) → n__diff(X1, X2)
p(X) → n__p(X)
activate(n__0) → 0
activate(n__s(X)) → s(activate(X))
activate(n__diff(X1, X2)) → diff(activate(X1), activate(X2))
activate(n__p(X)) → p(activate(X))
activate(X) → X
ACTIVATE(n__0) → 01
DIFF(X, Y) → IF(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
IF(true, X, Y) → ACTIVATE(X)
ACTIVATE(n__diff(X1, X2)) → DIFF(activate(X1), activate(X2))
DIFF(X, Y) → LEQ(X, Y)
ACTIVATE(n__diff(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__s(X)) → S(activate(X))
ACTIVATE(n__p(X)) → ACTIVATE(X)
ACTIVATE(n__diff(X1, X2)) → ACTIVATE(X2)
LEQ(s(X), s(Y)) → LEQ(X, Y)
IF(false, X, Y) → ACTIVATE(Y)
ACTIVATE(n__p(X)) → P(activate(X))
ACTIVATE(n__s(X)) → ACTIVATE(X)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → activate(X)
if(false, X, Y) → activate(Y)
diff(X, Y) → if(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
0 → n__0
s(X) → n__s(X)
diff(X1, X2) → n__diff(X1, X2)
p(X) → n__p(X)
activate(n__0) → 0
activate(n__s(X)) → s(activate(X))
activate(n__diff(X1, X2)) → diff(activate(X1), activate(X2))
activate(n__p(X)) → p(activate(X))
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
ACTIVATE(n__0) → 01
DIFF(X, Y) → IF(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
IF(true, X, Y) → ACTIVATE(X)
ACTIVATE(n__diff(X1, X2)) → DIFF(activate(X1), activate(X2))
DIFF(X, Y) → LEQ(X, Y)
ACTIVATE(n__diff(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__s(X)) → S(activate(X))
ACTIVATE(n__p(X)) → ACTIVATE(X)
ACTIVATE(n__diff(X1, X2)) → ACTIVATE(X2)
LEQ(s(X), s(Y)) → LEQ(X, Y)
IF(false, X, Y) → ACTIVATE(Y)
ACTIVATE(n__p(X)) → P(activate(X))
ACTIVATE(n__s(X)) → ACTIVATE(X)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → activate(X)
if(false, X, Y) → activate(Y)
diff(X, Y) → if(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
0 → n__0
s(X) → n__s(X)
diff(X1, X2) → n__diff(X1, X2)
p(X) → n__p(X)
activate(n__0) → 0
activate(n__s(X)) → s(activate(X))
activate(n__diff(X1, X2)) → diff(activate(X1), activate(X2))
activate(n__p(X)) → p(activate(X))
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
ACTIVATE(n__0) → 01
DIFF(X, Y) → IF(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
IF(true, X, Y) → ACTIVATE(X)
ACTIVATE(n__diff(X1, X2)) → DIFF(activate(X1), activate(X2))
DIFF(X, Y) → LEQ(X, Y)
ACTIVATE(n__diff(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__p(X)) → ACTIVATE(X)
ACTIVATE(n__s(X)) → S(activate(X))
ACTIVATE(n__diff(X1, X2)) → ACTIVATE(X2)
LEQ(s(X), s(Y)) → LEQ(X, Y)
IF(false, X, Y) → ACTIVATE(Y)
ACTIVATE(n__p(X)) → P(activate(X))
ACTIVATE(n__s(X)) → ACTIVATE(X)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → activate(X)
if(false, X, Y) → activate(Y)
diff(X, Y) → if(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
0 → n__0
s(X) → n__s(X)
diff(X1, X2) → n__diff(X1, X2)
p(X) → n__p(X)
activate(n__0) → 0
activate(n__s(X)) → s(activate(X))
activate(n__diff(X1, X2)) → diff(activate(X1), activate(X2))
activate(n__p(X)) → p(activate(X))
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
LEQ(s(X), s(Y)) → LEQ(X, Y)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → activate(X)
if(false, X, Y) → activate(Y)
diff(X, Y) → if(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
0 → n__0
s(X) → n__s(X)
diff(X1, X2) → n__diff(X1, X2)
p(X) → n__p(X)
activate(n__0) → 0
activate(n__s(X)) → s(activate(X))
activate(n__diff(X1, X2)) → diff(activate(X1), activate(X2))
activate(n__p(X)) → p(activate(X))
activate(X) → X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LEQ(s(X), s(Y)) → LEQ(X, Y)
trivial
trivial
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → activate(X)
if(false, X, Y) → activate(Y)
diff(X, Y) → if(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
0 → n__0
s(X) → n__s(X)
diff(X1, X2) → n__diff(X1, X2)
p(X) → n__p(X)
activate(n__0) → 0
activate(n__s(X)) → s(activate(X))
activate(n__diff(X1, X2)) → diff(activate(X1), activate(X2))
activate(n__p(X)) → p(activate(X))
activate(X) → X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
ACTIVATE(n__diff(X1, X2)) → ACTIVATE(X1)
ACTIVATE(n__p(X)) → ACTIVATE(X)
ACTIVATE(n__diff(X1, X2)) → ACTIVATE(X2)
DIFF(X, Y) → IF(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
IF(false, X, Y) → ACTIVATE(Y)
IF(true, X, Y) → ACTIVATE(X)
ACTIVATE(n__diff(X1, X2)) → DIFF(activate(X1), activate(X2))
ACTIVATE(n__s(X)) → ACTIVATE(X)
p(0) → 0
p(s(X)) → X
leq(0, Y) → true
leq(s(X), 0) → false
leq(s(X), s(Y)) → leq(X, Y)
if(true, X, Y) → activate(X)
if(false, X, Y) → activate(Y)
diff(X, Y) → if(leq(X, Y), n__0, n__s(n__diff(n__p(X), Y)))
0 → n__0
s(X) → n__s(X)
diff(X1, X2) → n__diff(X1, X2)
p(X) → n__p(X)
activate(n__0) → 0
activate(n__s(X)) → s(activate(X))
activate(n__diff(X1, X2)) → diff(activate(X1), activate(X2))
activate(n__p(X)) → p(activate(X))
activate(X) → X